#coding=utf-8
import re

'''
' [单行]2.1.2_12 大于号(>)两边需要加空格
'''
def mzcc_udrule_sin2_1_2__12(lineContext):

    # 过滤#import、指针、协议结尾
    results = re.findall(r"<.*>|->|>$", lineContext.curLine);
    if 0 != len(results):
        return True;

    results = re.findall(r"((?<! |>|<)>)|(>(?! |=|>|;))", lineContext.curLine);
    if 0 != len(results):
        return False;
    else:
        return True;
